package com.example.flight.generate;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: leo
 * @date: 2021/7/5
 */
@NoArgsConstructor
@Data
public class TongChengCity {

    private HeaderBean header;
    private BodyBean body;

    @NoArgsConstructor
    @Data
    public static class HeaderBean {
        private String rspTime;
        private String totalCount;
        private String ServerIp;
    }

    @NoArgsConstructor
    @Data
    public static class BodyBean {
        private int resType;
        private String keywordTokens;
        private String acEvent;
        private List<RlBean> rl;
        private List tl;

        @NoArgsConstructor
        @Data
        public static class RlBean {
            private String name;
            private String nameType;
            private String code;
            private String pname;
            private String enname;
            private String parentName;
            private String cityName;
            private String cityId;
            private String cityCode;
            private String clickable;
            private String isInter;
            private String showName;
            private String explain;
            private String hasAirPort;
            private String countAirport;
            private String acClickEvent;
            private int duplicateFlag;
            private int airportDuplicateFlag;
            private List list;
        }
    }
}
